package com.huiyou.adminapi.repository;

import com.huiyou.adminapi.common.model.AreaInfo;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AreaInfoRepository extends JpaRepository<AreaInfo, String> {

    List<AreaInfo> findAllByIpJoinSecurity(String ipJoinSecurityId, Pageable pageable);

}
